annotation class Restrict(val min: Float = -Float.MAX_VALUE, val max: Float = Float.MAX_VALUE) Annotation-driven validation for Floats
Author
fzzyhmstrs
Since
0.2.0
Parameters
: Float - minimum allowable value, default to Float.MIN_VALUE
: Float - maximum allowable value, default to Float.MAX_VALUE